package com.vogue.supplymall.shop.domain.dao;

import com.vogue.supplymall.shop.domain.model.ProductImg;

import java.util.List;

import org.apache.ibatis.annotations.Select;

/**
 * The interface Product img dao.
 *
 * @Aouthor: zhangliang
 * @Date: Create in 2017-12-07
 */
public interface ProductImgDao extends BaseDao<ProductImg, Long> {

    /**
     * Find by id list.
     *
     * @param id the id
     * @return the list
     */
    List<ProductImg> findById(Long id);
    /**
	 * 根据syscodeid、productid得到商品图片信息
	 */
	public List<ProductImg> findProductImgBySP(Long syscodeId,Long productId);
	/**
	 * 根据syscodeid、productid删除商品图片信息
	 */
	public int delProductImgBySP(Long syscodeId,Long productId);
}
